package com.sendpo.zjx.sendpo.fragment.privatedingdan;

import android.os.Bundle;
import android.support.annotation.Nullable;
import android.support.v4.app.Fragment;
import android.view.LayoutInflater;
import android.view.View;
import android.view.ViewGroup;

import com.sendpo.zjx.sendpo.activity.AllDindanListActivity;
import com.sendpo.zjx.sendpo.activity.PrivateAllDindanListActivity;

/**
 * Created by zjx on 2018
 */


public abstract class BaseDingdanFragment
        extends Fragment
{
    public PrivateAllDindanListActivity mActivity;

    public abstract View initView();

    public void onCreate(@Nullable Bundle paramBundle)
    {
        super.onCreate(paramBundle);
        this.mActivity = ((PrivateAllDindanListActivity)getActivity());
    }

    @Nullable
    public View onCreateView(LayoutInflater paramLayoutInflater, @Nullable ViewGroup paramViewGroup, @Nullable Bundle paramBundle)
    {
        return initView();
    }
}
